package com.congwulin.wechat.mapper.order;

import com.congwulin.wechat.entity.order.OrderBodyVO;
import org.apache.ibatis.annotations.Param;

import java.util.HashMap;
import java.util.List;

public interface OrderBodyMapper {
    int deleteByPrimaryKey(String id);

    int insert(OrderBodyVO record);

    int batchInsert(List<OrderBodyVO> record);

    int batchUpdate(List<OrderBodyVO> record);

    int insertSelective(OrderBodyVO record);

    List<OrderBodyVO> selectAllForOrderIDByPage(@Param("search")HashMap searchParams);

    OrderBodyVO selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(OrderBodyVO record);

    int updateByPrimaryKey(OrderBodyVO record);
}
